package com.nuotai.pms.shiro.dao;

import com.nuotai.pms.common.dao.BaseMapper;
import com.nuotai.pms.common.entity.TaskEntity;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 任务管理
 * @author yyf
 */
@MapperScan
@Component
public interface TaskMapper extends BaseMapper<TaskEntity> {
	//查询任务
	List<TaskEntity> queryTaskList(Map<String, Object> params);

	//添加任务
	int addTask(TaskEntity taskEntity);
}
